package month3.day28;

public class Mouse {
    private String name;
    private int physical;

    public Mouse(String name, int physical) {
        this.name = name;
        this.physical = physical;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPhysical() {
        return physical;
    }

    public void setPhysical(int physical) {
        this.physical = physical;
    }
    public void show(){
        System.out.println("这个老鼠叫："+name+"体力："+physical);
    }
}
